package org.example.one.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.one.common.Student;
import org.example.one.domain.Test;
import org.example.one.service.TestService;
import org.example.one.mapper.TestMapper;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
* @author acer
* @description 针对表【test】的数据库操作Service实现
* @createDate 2025-06-17 17:42:44
*/
@Service
public class TestServiceImpl extends ServiceImpl<TestMapper, Test>
    implements TestService{

    @Override
    public  List< Test> getNewmbtiByid(int sid) {
        return  baseMapper.getNewmbtiByid(sid);
    }

    @Override
    public List<Test> getNewmbtiByclass(Student student) {
        System.out.println(baseMapper.getNewmbtiByclass(student));
        return baseMapper.getNewmbtiByclass(student);
    }
}




